import Vue from 'vue'
import Vuex from 'vuex'
// import SystemMenu from './modules/systemPower'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    loading: false
  },
  mutations: {
    updateLoading(state, data) {
      state.loading = data
    }
  },
  actions: {},
  getters: {
    // loading
    loading: state => state.loading
  },
  modules: {
    // SystemMenu
  }
})
